package com.mask.im.business.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.io.Serializable;

/**
 * 通话信息模型类
 *
 * @author jian
 */
@Data
@ApiModel(description = "通话信息模型")
public class CallDetailVO implements Serializable {
    @ApiModelProperty(value = "发起者用户名")
    private Long callerId;

    @ApiModelProperty(value = "接受者用户名")
    private Long accepterId;

    @ApiModelProperty(value = "通话类型：video或audio")
    private Integer callType;

    @ApiModelProperty(value = "通话状态：REQUESTED:请求中, ACCEPTED:接受, REJECTED:拒绝, ENDED:结束")
    private String status;

    @ApiModelProperty(value = "开始时间戳")
    private long startTime;

    @ApiModelProperty(value = "结束时间戳")
    private long endTime;

    @ApiModelProperty(value = "拒绝或结束原因")
    private String reason;

    @ApiModelProperty(value = "通话时长(秒)")
    private long duration;
}
    